package com.howie.parnote.module;

import java.util.Date;

public class NoteFeedModule {

	public enum FeedType {
		FEED_TYPE_LIKE("like"), FEED_TYPE_UN_LIKE("unlike");

		private String value;

		private FeedType(String value) {
			this.value = value;
		}

		public String getValue() {
			return value;
		}
	}

	private Integer noteFeedId;

	private SharerModule sharer;

	private Integer noteId;

	private String feedType;

	private Date feedTime;

	public Integer getNoteFeedId() {
		return noteFeedId;
	}

	public void setNoteFeedId(Integer noteFeedId) {
		this.noteFeedId = noteFeedId;
	}

	public SharerModule getSharer() {
		return sharer;
	}

	public void setSharer(SharerModule sharer) {
		this.sharer = sharer;
	}

	public Integer getNoteId() {
		return noteId;
	}

	public void setNoteId(Integer noteId) {
		this.noteId = noteId;
	}

	public String getFeedType() {
		return feedType;
	}

	public void setFeedType(String feedType) {
		this.feedType = feedType == null ? null : feedType.trim();
	}

	public Date getFeedTime() {
		return feedTime;
	}

	public void setFeedTime(Date feedTime) {
		this.feedTime = feedTime;
	}
}